package vip.mtdp.base;

import com.alibaba.nacos.api.annotation.NacosProperties;
import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.ApplicationContext;
import org.springframework.context.annotation.ComponentScan;

/**
 * @description TODO
 * @date 2020/3/29 21:40
 * @auth wangguoqing
 **/
@Slf4j
@EnableDiscoveryClient
@EnableAutoConfiguration
@ComponentScan("vip.mtdp.*")
public class BaseApplication {
    public static void main(String[] args) {
        ApplicationContext ctx = SpringApplication.run(BaseApplication.class,args);
        log.info("base app started success ctx = {}",ctx);
    }
}
